﻿using System;

// Token: 0x020001EC RID: 492
public class StopShootAction : ShooterAction
{
	// Token: 0x06000A6C RID: 2668 RVA: 0x0005A969 File Offset: 0x00058B69
	public StopShootAction()
	{
		this.name = "StopShoot";
	}

	// Token: 0x06000A6D RID: 2669 RVA: 0x0005A97C File Offset: 0x00058B7C
	public override void StartAction()
	{
		this.shooterController = this.agent.gameObject.GetComponent<AIShooterController>();
		this.shooterController.StopFiring();
	}

	// Token: 0x06000A6E RID: 2670 RVA: 0x0005A8BB File Offset: 0x00058ABB
	public override bool IsCompleted()
	{
		return this.hasStarted && !this.shooterController.isFiring;
	}
}
